import {LoginComponent} from './login/login.component';

/**
 * 这里是全局路由配置
 * 用户从login登录之后跳转到workspace
 */
export const appRoutes = [
  {
    path: '',
    redirectTo: 'login',
    pathMatch: 'full'
  },
  {
    path: 'login',
    component: LoginComponent
  },
  {
    path: '**', // fallback router must in the last
    component: LoginComponent
  }
];
